﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="OneMG.Phoenix.AdminSite.Views.Home.Index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>融资后台管理-宇商网</title>
    <link rel="stylesheet" type="text/css" href="/Content/global.css" />
    <link rel="stylesheet" type="text/css" href="/Content/admin.css" />
    <script type="text/javascript" src="/Scripts/jquery.js"></script>
     <script type="text/javascript" src="/Scripts/common.js"></script>
    <style type="text/css">
    html{overflow:hidden;}
    </style>
</head>
<body>
    <div class="header clearfix">
        <h1 class="logo"><img src="/content/logo.png" /></h1>
        <div class="topNav">
            <span>管理员：<strong class="org"></strong>&nbsp;&nbsp;</span>
            <a href="javascript:void(logout())">[&nbsp;退出&nbsp;]</a>
        </div>
    </div>
    <div class="toolBar clearfix">
        <div class="tipArea">V1.3.0</div>
        <ul class="secNav clearfix">
            <li><a href="/views/Category/Index.aspx" target="topage">产品分类</a></li>
            <li><a href="/views/Passport/Rights.aspx" target="topage">权限管理</a></li>
            <li><a href="" title="返回管理中心">管理中心</a></li>
        </ul>
    </div>
    <div id="maincontent" class="maincontent clearfix">
        <div id="mainNav" class="mainNav">
            <h3><a href="javascript:;">站点设置</a></h3>
            <ul class="hide">
                 <li><a href="/Views/SiteConfig/Index.aspx" target="topage">站点配置</a></li>
                <li><a href="/Views/SiteConfig/About.aspx" target="topage">关于我们</a></li>
                <li><a href="/Views/SiteConfig/ContactInfo.aspx" target="topage">联系我们</a></li>
                <li><a href="/Views/Links/Index.aspx" target="topage">友情链接</a></li>

            </ul>
            
            <h3><a href="javascript:;">作品信息</a></h3>
            <ul class="hide">
                 <li><a href="/Views/Product/Edit.aspx" target="topage">添加作品</a></li>
                <li><a href="/Views/Product/Index.aspx" target="topage">管理作品</a></li>
                <li><a href="/Views/Category/Index.aspx?pid=2" target="topage">作品类型</a></li>
            </ul>
            
             <h3><a href="javascript:;">服务报价</a></h3>
            <ul class="hide">
                 <li><a href="/Views/New/Index.aspx" target="topage">添加报价</a></li>
                <li><a href="/Bank/Index" target="topage">报价管理</a></li>
            </ul>
            
            <h3><a href="javascript:;">新闻管理</a></h3>
            <ul class="hide">
                <li><a href="/Views/New/Edit.aspx" target="topage">添加新闻</a></li>
                <li><a href="/Views/New/Index.aspx" target="topage">新闻管理</a></li>
                <li><a href="/Views/Category/Index.aspx?pid=1" target="topage">新闻分类</a></li>
            </ul>
            
             <h3><a href="javascript:;">用户管理</a></h3>
            <ul class="hide">
                <li><a href="/Views/AdminUser/Index.aspx" target="topage">用户管理</a></li>
                 <li><a href="/Views/AdminUser/Edit.aspx" target="topage">用户权限</a></li>

            </ul>
            
              <h3><a href="javascript:;">排期管理</a></h3>
            <ul class="hide">
                <li><a href="/Views/New/Edit.aspx" target="topage">添加新闻</a></li>
                <li><a href="/Views/New/Index.aspx" target="topage">新闻管理</a></li>
                <li><a href="/CommissionManager/Index" target="topage">分类管理</a></li>
            </ul>
            
               <h3><a href="javascript:;">静态电影</a></h3>
            <ul class="hide">
                <li><a href="/Views/New/Edit.aspx" target="topage">添加新闻</a></li>
                <li><a href="/Views/New/Index.aspx" target="topage">新闻管理</a></li>
                <li><a href="/CommissionManager/Index" target="topage">分类管理</a></li>
            </ul>
            
               <h3><a href="javascript:;">广告管理</a></h3>
            <ul class="hide">
                <li><a href="/Views/New/Edit.aspx" target="topage">添加新闻</a></li>
                <li><a href="/Views/New/Index.aspx" target="topage">新闻管理</a></li>
                <li><a href="/CommissionManager/Index" target="topage">分类管理</a></li>
            </ul>

        </div>
        <div class="content">
            <iframe src="/Views/Home/Welcome.aspx" id="topage" name="topage" frameborder="0" style="padding:0;margin:0;height:100%;border:0;" ></iframe>
        </div>
    </div>
    <div class="footer">
        &copy; 深圳市宇商网科技有限公司 2010-2012
        <span style="display:none">host:<% =Server.MachineName %></span>
    </div>


    <script type="text/javascript">
        // 登出
        function logout() {
            if (confirm("确定要退出系统吗?")) {
                location.href = "/Home/Logout";
            }
        }
        
        //左侧菜单收缩
	    var $navTitle = $('#mainNav h3');
	    $navTitle.click( function() {
		    var t = $(this);
		    if('' == t.attr('state') || undefined == t.attr('state') ) {
			    t.children('a').addClass('open').end().next('ul').slideDown('fast');
			    t.attr('state','open');
		    } else if('open' == t.attr('state')) {
			    t.children('a').removeClass('open').end().next('ul').slideUp('fast');
			    t.attr('state','');
		    }
	    });
	    //左侧菜单高亮获焦
	    var $navLi = $('#mainNav li');
	    $navLi.click(function(){
	        $navLi.removeClass('cur');
	        $(this).addClass('cur');
	    });
	    //maincontent自动满屏
	    function setHeight() {
	        var $win = $(window);
		    var nWinHeight = $win.height();
		    $('#maincontent').height(nWinHeight - 80 - 46 - 30);
		    $('#mainNav').height(nWinHeight - 80 - 46 - 30 - 20);
		    $('#topage').height(nWinHeight - 80 - 46 - 30);
		    if(!-[1,]&&!window.XMLHttpRequest){
		        $('#topage').width($win.width() - 200 - 5);
		    }else{
		        $('#topage').css('width', '100%');
		    }
	    }
	    setHeight();
	    $(window).resize(setHeight);
	    
	    //弹出层全局对象
	    window.winObj = null;//一级window对象
	    window.oDG = null;//一级窗口
	    window.winObjChild = null;//二级window对象
	    window.oDGChild = null;//二级窗口
    </script>
</body>
</html>

